﻿using System;
using System.Collections.Generic;
using System.Data.Common;

namespace HYFamilyLibDataManager
{
	public interface IFamilyParamTable
	{
		bool Add(DbFamily family, List<DbParamDefinition> pdList, DbTransaction tr);

		void Remove(DbParamDefinition paramDef, DbFamily family);

		void Remove(DbFamily family, DbTransaction tr);

		DbParamDefinition this[DbFamily family, string pName]
		{
			get;
		}

		List<DbParamDefinition> this[DbFamily family]
		{
			get;
		}
	}
}
